-
Notifications
You must be signed in to change notification settings - Fork 90
use allowance holder api for 0x v2 eip5792 txs #355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Deploying llamaswap with
|
Latest commit: |
48789a7
|
Status: | ✅ Deploy successful! |
Preview URL: | https://4c36976e.llamaswap.pages.dev |
Branch Preview URL: | https://0x-v2-allowance-holder.llamaswap.pages.dev |
if (!signature) { | ||
throw { reason: 'Signature is required' } | ||
if (rawQuote.isSignatureNeededForSwap && tokens.fromToken.address !== zeroAddress && !signature) { | ||
throw { reason: 'Signature is required' }; | ||
} | ||
|
||
const signatureLengthInHex = numberToHex(size(signature), { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when signature is empty, does this work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, if signature is empty it will throw error
No description provided.